package modele;

import java.io.Writer;
import java.rmi.Remote;
import java.util.Date;
import java.util.List;

public interface Demande extends Remote {
    // les assesseurs
    public Dossier getDossier() throws Exception;
    public Date getDate() throws Exception;
    public List<Fiche> getFiches() throws Exception;
    public Fiche getFiche(Integer indPar, int indPosition) throws Exception;
    public String getListeParcours() throws Exception;
    public List<Parcours> getParcours() throws Exception;
    public void setDate(Date d) throws Exception;
    public Fiche addFiche(Parcours par) throws Exception;
    // les algos
    public boolean isValide() throws Exception;
    public boolean equals(Demande dem) throws Exception;
    public void record(int nbFiches) throws Exception;
    public void setLiensParUes(boolean b) throws Exception;
    // les sorties
    public void imprimer(Writer file) throws Exception;
    public void imprimerCourrier(Writer file) throws Exception;
    public void imprimerDossier(Writer file) throws Exception;

}
